package whisper.api.gateway.frame.auth.domain;

/**
 * Created by JT on 2017/9/25.
 */
public class Permission {

    private Integer id;
    /* 权限名 */
    private String name;
    /* 资源URL */
    private String url;
    /* 权限类型 */
    private String type;
    /* 权限父ID */
    private Integer parentId;
    /* 排序字段 */
    private Integer sort;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
